<?php
    use Illuminate\Support\Facades\URL;
?>

 <!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    

    <title>H+ 后台主题UI框架 - 基础表格</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link href="{{URL::asset('/admin')}}/css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="{{URL::asset('/admin')}}/css/font-awesome.min.css?v=4.3.0" rel="stylesheet">
    <link href="{{URL::asset('/admin')}}/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="{{URL::asset('/admin')}}/css/animate.min.css" rel="stylesheet">
    <link href="{{URL::asset('/admin')}}/css/style.min.css?v=3.2.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>用户列表</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li><a href="table_basic.html#">选项1</a>
                                </li>
                                <li><a href="table_basic.html#">选项2</a>
                                </li>
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">

                        <div class="row">
                            <div class="col-sm-5 m-b-xs">
                                <select class="input-sm form-control input-s-sm inline">
                                    <option value="0">请选择</option>
                                    <option value="1">选项1</option>
                                    <option value="2">选项2</option>
                                    <option value="3">选项3</option>
                                </select>
                            </div>
                            <div class="col-sm-4 m-b-xs">
                                <div data-toggle="buttons" class="btn-group">
                                    <label class="btn btn-sm btn-white">
                                        <input type="radio" id="option1" name="options">天</label>
                                    <label class="btn btn-sm btn-white active">
                                        <input type="radio" id="option2" name="options">周</label>
                                    <label class="btn btn-sm btn-white">
                                        <input type="radio" id="option3" name="options">月</label>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <input type="text" placeholder="请输入关键词" class="input-sm form-control"> <span class="input-group-btn">
                                        <button type="button" class="btn btn-sm btn-primary"> 搜索</button> </span>
                                </div>
                            </div>
                        </div>


                        <div class="table-responsive">
                            <table class="table table-striped">
                                <thead>
                                    <tr>
                                        <th>ID</th>
                                        <th>头像</th>
                                        <th>用户名</th>
                                        <th>手机</th>
                                        <th>状态</th>
                                        <th>最后登陆ip</th>
                                        <th>最后登陆时间</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    @foreach ($list as $user)
                                        <tr>
                                            <td><input type="checkbox" class="i-checks" name="input[]" value="{{$user->userId}}"></td>
                                            <td><img src="{{$user->userPhoto}}" width="50" height="50"></td>
                                            <td>{{$user->userName}}</td>
                                            <td>{{$user->userPhone}}</td>
                                            <td>{{$user->userStatus}}</td>
                                            <td>{{$user->lastIP}}</td>
                                            <td>{{$user->lastTime}}</td>
                                            <td>
                                                <a href="#"><i class="fa fa-info-circle"></i></a>
                                                <a href="#"><i class="fa red fa-times"></i></a>
                                            </td>
                                        </tr>
                                    @endforeach


                                </tbody>
                            </table>
                        </div>

                    </div>
                </div>
            </div>

        </div>
    </div>

    <!-- 全局js -->
    <script src="{{URL::asset('/admin')}}/js/jquery-2.1.1.min.js"></script>
    <script src="{{URL::asset('/admin')}}/js/bootstrap.min.js?v=3.4.0"></script>



    <!-- Peity -->
    <script src="{{URL::asset('/admin')}}/js/plugins/peity/jquery.peity.min.js"></script>

    <!-- 自定义js -->
    <script src="{{URL::asset('/admin')}}/js/content.min.js?v=1.0.0"></script>


    <!-- iCheck -->
    <script src="{{URL::asset('/admin')}}/js/plugins/iCheck/icheck.min.js"></script>

    <!-- Peity -->
    <script src="{{URL::asset('/admin')}}/js/demo/peity-demo.min.js"></script>

    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>

</body>

</html>